﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Core.Middleware.StaticFileCacheing
{
    /// <summary>
    /// 路由主题
    /// </summary>
    public class CacheTopicAttribute : Attribute
    {
        /// <summary>
        /// 主题
        /// </summary>
        public string Topic { get; set; }

        /// <summary>
        /// 路由主题注册
        /// </summary>
        /// <param name="_topic">主题</param>
        public CacheTopicAttribute(string _topic)
        {
            this.Topic = _topic;
        }

    }
}
